-
Home
-
Media Cloud for Bunny CDN, Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean and more
-
4.2.7
-
Code
-
Classes
- DynamicImagesTool
| Total Complexity |
144 |
| Dependencies |
5 |
| Dependents |
0 |
| Total lines |
897 |
| Lines of code |
622 |
| Logical lines of code |
349 |
| Comment lines |
107 |
| Methods |
27 |
| Properties |
8 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| setup() |
C |
28 |
26 |
139 |
| displayEditUI() |
B |
36 |
20 |
80 |
| saveAdjustments() |
A |
45 |
10 |
42 |
| doUpdatePresets() |
A |
48 |
10 |
33 |
| buildPresetsUI() |
A |
48 |
9 |
34 |
| enqueueTheGoods() |
A |
50 |
8 |
27 |
| imageGetIntermediateSize() |
S |
58 |
7 |
15 |
| savePreset() |
S |
51 |
6 |
26 |
| newPreset() |
S |
52 |
6 |
24 |
| prepareAttachmentForJS() |
S |
60 |
6 |
12 |
| doDeletePreset() |
S |
57 |
5 |
18 |
| getAttachmentURL() |
S |
57 |
5 |
16 |
| hookupUI() |
S |
44 |
1 |
63 |
| editPageURL() |
S |
57 |
4 |
15 |
| previewAdjustments() |
S |
58 |
3 |
14 |
| __construct() |
S |
62 |
3 |
12 |
| deletePreset() |
S |
61 |
2 |
12 |
| forceEnable() |
S |
68 |
2 |
8 |
| imageDownsize() |
S |
63 |
2 |
10 |
| currentDynamicImagesTool() |
S |
71 |
2 |
6 |
| setupHooks() |
S |
74 |
1 |
4 |
| tearDownHooks() |
S |
74 |
1 |
4 |
| registerSettings() |
S |
73 |
1 |
5 |
| buildSizedImage() |
S |
100 |
1 |
0 |
| buildImage() |
S |
100 |
1 |
0 |
| urlForStorageMedia() |
S |
100 |
1 |
0 |
| fixCleanedUrls() |
S |
82 |
1 |
3 |